/*
 * @Description: 继承测试类
 * @Author: rendc
 * @Date: 2025-03-10 14:12:39
 * @LastEditors: rendc
 * @LastEditTime: 2025-03-10 15:05:06
 */
public class AnimalTest {

  public static void main(String[] args) {
    // Cat c = new Cat();
    // c.sayHello();
    // System.out.println("c.age:" + c.age);
    Cat c = new Cat();
    Super s = new Sub();
    System.out.println(s.test());
  }
}
